<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="referrer" content="no-referrer">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>Bootstrap 101 Template</title>

    <!-- Bootstrap -->
    <link href="css/bootstrap.min.css" rel="stylesheet" />
    <link href="css/sweetalert2.min.css" rel="stylesheet" />
    <!-- My CSS -->
    <link href="css2/css-index.css" rel="stylesheet" type="text/css">

</head>
<body>

<div id="top">
    <nav class="navbar navbar-default navbar-fixed-top" role="navigation"
         style="overflow-x: hidden">
        <div class="container-fluid"></div>
        <div class="navbar-header">
            <a class="navbar-brand" href="index.html">校园图书</a>
        </div>
        <form class="navbar-form navbar-left" role="search">
            <div class="input-group">
                <input type="text" class="form-control input-sm"
                       placeholder="search" /> <span
                    class="btn btn-default input-group-addon" aria-label="Left Align"><span
                    class="glyphicon glyphicon-search" aria-hidden="true"></span></span>
            </div>
        </form>
        <div>
            <ul class="nav navbar-nav navbar-right">
                <li id="btn-login" data-toggle="modal" data-target="#login-modal"><a
                        href="#">登陆</a></li>
                <li id="btn-register" data-toggle="modal"
                    data-target="#register-modal"><a href="#">免费注册</a></li>
                <li id="top-user" class="hide"><a href="#">用户</a></li>
                <li id="top-remove-user" class="hide"><a href="#">退出</a></li>
                <li><a href="#">我的借书</a></li>
                <li><a href="#">我要借书</a></li>
                <li><a href="#"><span class="glyphicon glyphicon-phone"></span>手机图书</a></li>
                <li><a href="#"><span class="glyphicon glyphicon-phone"></span>微信公共号</a></li>
            </ul>
        </div>
    </nav>
</div>-

<div id="search-div" class="container">
    <div class="form-inline col-md-8 col-md-offset-2">
        <div class="input-group" style="width: 100%">
            <input id="small-search" type="text" class="form-control input-lg" />
            <span class="btn btn-default input-group-addon"
                  aria-label="Left Align" style="width: 18%"> <span
                    class="glyphicon glyphicon-search" aria-hidden="true"
                    style="font-size: 20px;"></span> <label class="sr-only"
                                                            for="small-search">search</label>
				</span>
        </div>
        <div>
            <span class="label label-default">热搜</span> <a
                class="label label-info">Linux</a> <a class="label label-info">Android</a>
            <a class="label label-info">JavaWeb</a> <a class="label label-info">收购</a>
        </div>
    </div>
</div>

<div id="show" class="container">

</div>


<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
<script type="text/javascript" src="js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="js/sweetalert2.min.js"></script>

<script type="text/javascript">
    var value = window.location.search.substring(1);
    value = decodeURI(value);
    $("#show").css("font-size","30px").css("color", "red").text(value);
</script>

<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>